// Copyright (c) 2015-2017 LIANHEBAOLI. All rights reserved.
// ============================================================================
// CURRENT VERSION
// ============================================================================
// CHANGE LOG
// V1.0 : 2017年6月5日, wanlin.liu, creation
// ============================================================================
package com.dome.util.constans;

/**
 * @author wanlin.liu
 *
 */
public interface RedisKeyConstants {

    public static final String CONTEXT_KEY_USER_ID = "currentUserId";
    public static final String CONTEXT_KEY_USERNAME = "currentUserName";
    public static final String CONTEXT_KEY_USER_NAME = "currentUser";
    public static final String CONTEXT_KEY_USER_TOKEN = "currentUserToken";
    public static final String CONTEXT_KEY_USER_ACCOUNT = "currentUserAccount";

    String ACCESS_RESOURCE_TREE = "resource:accessResourceTree:";

    String OPEN_ACCESS_RESOURCE_TREE = "resource:openAccessResourceTree:";


    String SESSIONID = "sessionId:";

    String TOKEN = "token:";

    Integer COOKIE_TIMEOUT = 8*60*60;//八小时过期

}
